/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package alcatelparser.tags;

import alcatelparser.modules.I;

/**
 *
 * @author geniuz
 */
public class RecordEndTag extends DefaultParserTag
{

    public RecordEndTag()
    {
    }

    public final void parseTag(int ai[], int i)
    {
        _length = 1;
        for(i++; ai[i] != 114;)
        {
            i++;
            _length++;
        }

        _length++;
        _length += 14;
        _readBytesCount = _length;
    }

    public final String getParseIdentityTag()
    {
        return I.I(5419);
    }

    private int _length;
    private static final int CORRUPT_RECORD_ANCHOR = 114;
    private static final int CORRUPT_RECORD_FINAL_CONTENT_LENGTH = 14;
}
